//
// Decompiled with: Decompiler.NET, Version=1.3.1.18439, Culture=neutral, PublicKeyToken=null, Version: 1.3.1.18439
// Decompilation Started at: 3/15/2009 10:34:26 PM
// Copyright 2003 - 2004, Jungle Creatures, Inc., All Rights Reserved. 
// Written by Jonathan Pierce, Email: support@junglecreatures.com
//

namespace PatientManagement

{
		
		#region Namespace Import Declarations
		
			using System.Collections;
			using System.ComponentModel;
			using System.Data;
			using System.Diagnostics;
			using System.Globalization;
			using System.IO;
			using System;
			using System.Reflection;
			using System.Runtime.Serialization;
			using System.Text;
			using System.Xml.Schema;
			using System.Xml;
			
		#endregion
		
	[System.Serializable()]
	[System.ComponentModel.DesignerCategoryAttribute ("code")]
	[System.Diagnostics.DebuggerStepThroughAttribute ()]
	[System.ComponentModel.ToolboxItemAttribute (true)]
	public class dsNoiSoi : DataSet
	
	{
		
		#region Fields
			private vw_InnserScanResultDataTable tablevw_InnserScanResult;
		#endregion
		
		#region Nested Types
		
			// [System.Reflection.DefaultMemberAttribute ("Item")]
			[System.Diagnostics.DebuggerStepThroughAttribute ()]
			public class vw_InnserScanResultDataTable : DataTable, IEnumerable
			
			{
				
				#region Fields
					private DataColumn columnclrExaminationDate;
					private DataColumn columnclrExaminationTimes;
					private DataColumn columnclrISN;
					private DataColumn columnnscISN;
					private DataColumn columnnscISNChild;
					private DataColumn columnnscISNLevelFourth;
					private DataColumn columnnscISNLevelThree;
					private DataColumn columnnscName;
					private DataColumn columnnscNameChild;
					private DataColumn columnnscNameLevelFourth;
					private DataColumn columnnscNameLevelThree;
					private DataColumn columnpatBirthDate;
					private DataColumn columnpatID;
					private DataColumn columnpatISN;
					private DataColumn columnpatName;
					public event dsNoiSoi.vw_InnserScanResultRowChangeEventHandler vw_InnserScanResultRowChanged;
					public event dsNoiSoi.vw_InnserScanResultRowChangeEventHandler vw_InnserScanResultRowChanging;
					public event dsNoiSoi.vw_InnserScanResultRowChangeEventHandler vw_InnserScanResultRowDeleted;
					public event dsNoiSoi.vw_InnserScanResultRowChangeEventHandler vw_InnserScanResultRowDeleting;
				#endregion
				
				#region Constructors
				
					internal vw_InnserScanResultDataTable ()
						 : base ("vw_InnserScanResult")
					
					{
						this.InitClass ();
						return;
					}
					
					
					internal vw_InnserScanResultDataTable (DataTable table)
						 : base (table.TableName)
					
					{
						if (table.CaseSensitive == table.DataSet.CaseSensitive)
						{
							goto L_002B;
						}
						base.CaseSensitive = table.CaseSensitive;
						
					L_002B:
						
						{
						}
						if (table.Locale.ToString () == table.DataSet.Locale.ToString ())
						{
							goto L_0059;
						}
						base.Locale = table.Locale;
						
					L_0059:
						
						{
						}
						if (table.Namespace == table.DataSet.Namespace)
						{
							goto L_007D;
						}
						base.Namespace = table.Namespace;
						
					L_007D:
						
						{
						}
						base.Prefix = table.Prefix;
						base.MinimumCapacity = table.MinimumCapacity;
						base.DisplayExpression = table.DisplayExpression;
						return;
					}
					
				#endregion
				
				#region Properties
				
					internal DataColumn clrExaminationDateColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrExaminationDate;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrExaminationTimesColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrExaminationTimes;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					[System.ComponentModel.BrowsableAttribute (false)]
					public int Count
					
					{
						get
						{
							int i;
							i = base.Rows.Count;
							goto L_000E;
							
						L_000E:
							
							{
							}
							return i;
						}
					}
					
					
					public dsNoiSoi.vw_InnserScanResultRow this[int index]
					
					{
						get
						{
							dsNoiSoi.vw_InnserScanResultRow theVw_InnserScanResultRow;
							theVw_InnserScanResultRow = ((dsNoiSoi.vw_InnserScanResultRow) base.Rows[index]);
							goto L_0014;
							
						L_0014:
							
							{
							}
							return theVw_InnserScanResultRow;
						}
					}
					
					
					internal DataColumn nscISNChildColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnnscISNChild;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn nscISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnnscISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn nscISNLevelFourthColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnnscISNLevelFourth;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn nscISNLevelThreeColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnnscISNLevelThree;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn nscNameChildColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnnscNameChild;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn nscNameColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnnscName;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn nscNameLevelFourthColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnnscNameLevelFourth;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn nscNameLevelThreeColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnnscNameLevelThree;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patBirthDateColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatBirthDate;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patIDColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatID;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patNameColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatName;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
				#endregion
				
				#region Methods
				
					public dsNoiSoi.vw_InnserScanResultRow Addvw_InnserScanResultRow (string nscName, string nscNameChild, string nscNameLevelThree, string nscNameLevelFourth, int clrExaminationTimes, DateTime clrExaminationDate, string patID, string patName, DateTime patBirthDate)
					
					{
						dsNoiSoi.vw_InnserScanResultRow theVw_InnserScanResultRow;
						dsNoiSoi.vw_InnserScanResultRow theVw_InnserScanResultRow2;
						object[] theObjectArray;
						theVw_InnserScanResultRow = ((dsNoiSoi.vw_InnserScanResultRow) base.NewRow ());
						theObjectArray = new object[15];
						theObjectArray[1] = nscName;
						theObjectArray[3] = nscNameChild;
						theObjectArray[5] = nscNameLevelThree;
						theObjectArray[7] = nscNameLevelFourth;
						theObjectArray[8] = clrExaminationTimes;
						theObjectArray[9] = clrExaminationDate;
						theObjectArray[12] = patID;
						theObjectArray[13] = patName;
						theObjectArray[14] = patBirthDate;
						theVw_InnserScanResultRow.ItemArray = theObjectArray;
						base.Rows.Add (((DataRow) theVw_InnserScanResultRow));
						theVw_InnserScanResultRow2 = theVw_InnserScanResultRow;
						goto L_0068;
						
					L_0068:
						
						{
						}
						return theVw_InnserScanResultRow2;
					}
					
					public void Addvw_InnserScanResultRow (dsNoiSoi.vw_InnserScanResultRow row)
					
					{
						base.Rows.Add (((DataRow) row));
						return;
					}
					
					public override DataTable Clone ()
					
					{
						dsNoiSoi.vw_InnserScanResultDataTable theVw_InnserScanResultDataTable;
						DataTable theDataTable;
						theVw_InnserScanResultDataTable = ((dsNoiSoi.vw_InnserScanResultDataTable) base.Clone ());
						theVw_InnserScanResultDataTable.InitVars ();
						theDataTable = ((DataTable) theVw_InnserScanResultDataTable);
						goto L_0016;
						
					L_0016:
						
						{
						}
						return theDataTable;
					}
					
					protected override DataTable CreateInstance ()
					
					{
						DataTable theDataTable;
						theDataTable = ((DataTable) new dsNoiSoi.vw_InnserScanResultDataTable ());
						goto L_0008;
						
					L_0008:
						
						{
						}
						return theDataTable;
					}
					
					public virtual IEnumerator GetEnumerator ()
					
					{
						IEnumerator theIEnumerator;
						theIEnumerator = base.Rows.GetEnumerator ();
						goto L_000E;
						
					L_000E:
						
						{
						}
						return theIEnumerator;
					}
					
					protected override Type GetRowType ()
					
					{
						Type theType;
						theType = typeof (dsNoiSoi.vw_InnserScanResultRow);
						goto L_000D;
						
					L_000D:
						
						{
						}
						return theType;
					}
					
					private void InitClass ()
					
					{
						this.columnnscISN = new DataColumn ("nscISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnnscISN);
						this.columnnscName = new DataColumn ("nscName", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnnscName);
						this.columnnscISNChild = new DataColumn ("nscISNChild", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnnscISNChild);
						this.columnnscNameChild = new DataColumn ("nscNameChild", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnnscNameChild);
						this.columnnscISNLevelThree = new DataColumn ("nscISNLevelThree", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnnscISNLevelThree);
						this.columnnscNameLevelThree = new DataColumn ("nscNameLevelThree", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnnscNameLevelThree);
						this.columnnscISNLevelFourth = new DataColumn ("nscISNLevelFourth", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnnscISNLevelFourth);
						this.columnnscNameLevelFourth = new DataColumn ("nscNameLevelFourth", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnnscNameLevelFourth);
						this.columnclrExaminationTimes = new DataColumn ("clrExaminationTimes", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrExaminationTimes);
						this.columnclrExaminationDate = new DataColumn ("clrExaminationDate", typeof (DateTime), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrExaminationDate);
						this.columnclrISN = new DataColumn ("clrISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrISN);
						this.columnpatISN = new DataColumn ("patISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatISN);
						this.columnpatID = new DataColumn ("patID", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatID);
						this.columnpatName = new DataColumn ("patName", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatName);
						this.columnpatBirthDate = new DataColumn ("patBirthDate", typeof (DateTime), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatBirthDate);
						this.columnnscISN.AutoIncrement = true;
						this.columnnscISN.AllowDBNull = false;
						this.columnnscISN.ReadOnly = true;
						this.columnnscISNChild.AutoIncrement = true;
						this.columnnscISNChild.ReadOnly = true;
						this.columnnscISNLevelThree.AutoIncrement = true;
						this.columnnscISNLevelThree.ReadOnly = true;
						this.columnnscISNLevelFourth.AutoIncrement = true;
						this.columnnscISNLevelFourth.ReadOnly = true;
						this.columnclrISN.AutoIncrement = true;
						this.columnclrISN.AllowDBNull = false;
						this.columnclrISN.ReadOnly = true;
						this.columnpatISN.AutoIncrement = true;
						this.columnpatISN.AllowDBNull = false;
						this.columnpatISN.ReadOnly = true;
						return;
					}
					
					internal void InitVars ()
					
					{
						this.columnnscISN = base.Columns["nscISN"];
						this.columnnscName = base.Columns["nscName"];
						this.columnnscISNChild = base.Columns["nscISNChild"];
						this.columnnscNameChild = base.Columns["nscNameChild"];
						this.columnnscISNLevelThree = base.Columns["nscISNLevelThree"];
						this.columnnscNameLevelThree = base.Columns["nscNameLevelThree"];
						this.columnnscISNLevelFourth = base.Columns["nscISNLevelFourth"];
						this.columnnscNameLevelFourth = base.Columns["nscNameLevelFourth"];
						this.columnclrExaminationTimes = base.Columns["clrExaminationTimes"];
						this.columnclrExaminationDate = base.Columns["clrExaminationDate"];
						this.columnclrISN = base.Columns["clrISN"];
						this.columnpatISN = base.Columns["patISN"];
						this.columnpatID = base.Columns["patID"];
						this.columnpatName = base.Columns["patName"];
						this.columnpatBirthDate = base.Columns["patBirthDate"];
						return;
					}
					
					protected override DataRow NewRowFromBuilder (DataRowBuilder builder)
					
					{
						DataRow theDataRow;
						theDataRow = ((DataRow) new dsNoiSoi.vw_InnserScanResultRow (builder));
						goto L_0009;
						
					L_0009:
						
						{
						}
						return theDataRow;
					}
					
					public dsNoiSoi.vw_InnserScanResultRow Newvw_InnserScanResultRow ()
					
					{
						dsNoiSoi.vw_InnserScanResultRow theVw_InnserScanResultRow;
						theVw_InnserScanResultRow = ((dsNoiSoi.vw_InnserScanResultRow) base.NewRow ());
						goto L_000E;
						
					L_000E:
						
						{
						}
						return theVw_InnserScanResultRow;
					}
					
					protected override void OnRowChanged (DataRowChangeEventArgs e)
					
					{
						base.OnRowChanged (e);
						if (this.vw_InnserScanResultRowChanged == null)
						{
							goto L_0031;
						}
						this.vw_InnserScanResultRowChanged (this, new dsNoiSoi.vw_InnserScanResultRowChangeEvent (((dsNoiSoi.vw_InnserScanResultRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					protected override void OnRowChanging (DataRowChangeEventArgs e)
					
					{
						base.OnRowChanging (e);
						if (this.vw_InnserScanResultRowChanging == null)
						{
							goto L_0031;
						}
						this.vw_InnserScanResultRowChanging (this, new dsNoiSoi.vw_InnserScanResultRowChangeEvent (((dsNoiSoi.vw_InnserScanResultRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					protected override void OnRowDeleted (DataRowChangeEventArgs e)
					
					{
						base.OnRowDeleted (e);
						if (this.vw_InnserScanResultRowDeleted == null)
						{
							goto L_0031;
						}
						this.vw_InnserScanResultRowDeleted (this, new dsNoiSoi.vw_InnserScanResultRowChangeEvent (((dsNoiSoi.vw_InnserScanResultRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					protected override void OnRowDeleting (DataRowChangeEventArgs e)
					
					{
						base.OnRowDeleting (e);
						if (this.vw_InnserScanResultRowDeleting == null)
						{
							goto L_0031;
						}
						this.vw_InnserScanResultRowDeleting (this, new dsNoiSoi.vw_InnserScanResultRowChangeEvent (((dsNoiSoi.vw_InnserScanResultRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					public void Removevw_InnserScanResultRow (dsNoiSoi.vw_InnserScanResultRow row)
					
					{
						base.Rows.Remove (((DataRow) row));
						return;
					}
					
				#endregion
			}
			
			
			[System.Diagnostics.DebuggerStepThroughAttribute ()]
			public class vw_InnserScanResultRow : DataRow
			
			{
				
				#region Fields
					private dsNoiSoi.vw_InnserScanResultDataTable tablevw_InnserScanResult;
				#endregion
				
				#region Constructors
				
					internal vw_InnserScanResultRow (DataRowBuilder rb)
						 : base (rb)
					
					{
						this.tablevw_InnserScanResult = ((dsNoiSoi.vw_InnserScanResultDataTable) base.Table);
						return;
					}
					
				#endregion
				
				#region Properties
				
					public DateTime clrExaminationDate
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							DateTime theDateTime;
							
						L_0000:
							try
							{
								theDateTime = ((DateTime) base[this.tablevw_InnserScanResult.clrExaminationDateColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDateTime;
						}
						set
						{
							base[this.tablevw_InnserScanResult.clrExaminationDateColumn] = value;
							return;
						}
					}
					
					
					public int clrExaminationTimes
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_InnserScanResult.clrExaminationTimesColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_InnserScanResult.clrExaminationTimesColumn] = value;
							return;
						}
					}
					
					
					public int clrISN
					
					{
						get
						{
							int i;
							i = ((int) base[this.tablevw_InnserScanResult.clrISNColumn]);
							goto L_001A;
							
						L_001A:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_InnserScanResult.clrISNColumn] = value;
							return;
						}
					}
					
					
					public int nscISN
					
					{
						get
						{
							int i;
							i = ((int) base[this.tablevw_InnserScanResult.nscISNColumn]);
							goto L_001A;
							
						L_001A:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_InnserScanResult.nscISNColumn] = value;
							return;
						}
					}
					
					
					public int nscISNChild
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_InnserScanResult.nscISNChildColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_InnserScanResult.nscISNChildColumn] = value;
							return;
						}
					}
					
					
					public int nscISNLevelFourth
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_InnserScanResult.nscISNLevelFourthColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_InnserScanResult.nscISNLevelFourthColumn] = value;
							return;
						}
					}
					
					
					public int nscISNLevelThree
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_InnserScanResult.nscISNLevelThreeColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_InnserScanResult.nscISNLevelThreeColumn] = value;
							return;
						}
					}
					
					
					public string nscName
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_InnserScanResult.nscNameColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_InnserScanResult.nscNameColumn] = value;
							return;
						}
					}
					
					
					public string nscNameChild
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_InnserScanResult.nscNameChildColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_InnserScanResult.nscNameChildColumn] = value;
							return;
						}
					}
					
					
					public string nscNameLevelFourth
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_InnserScanResult.nscNameLevelFourthColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_InnserScanResult.nscNameLevelFourthColumn] = value;
							return;
						}
					}
					
					
					public string nscNameLevelThree
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_InnserScanResult.nscNameLevelThreeColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_InnserScanResult.nscNameLevelThreeColumn] = value;
							return;
						}
					}
					
					
					public DateTime patBirthDate
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							DateTime theDateTime;
							
						L_0000:
							try
							{
								theDateTime = ((DateTime) base[this.tablevw_InnserScanResult.patBirthDateColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDateTime;
						}
						set
						{
							base[this.tablevw_InnserScanResult.patBirthDateColumn] = value;
							return;
						}
					}
					
					
					public string patID
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_InnserScanResult.patIDColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_InnserScanResult.patIDColumn] = value;
							return;
						}
					}
					
					
					public int patISN
					
					{
						get
						{
							int i;
							i = ((int) base[this.tablevw_InnserScanResult.patISNColumn]);
							goto L_001A;
							
						L_001A:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_InnserScanResult.patISNColumn] = value;
							return;
						}
					}
					
					
					public string patName
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_InnserScanResult.patNameColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_InnserScanResult.patNameColumn] = value;
							return;
						}
					}
					
				#endregion
				
				#region Methods
				
					public bool IsclrExaminationDateNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.clrExaminationDateColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsclrExaminationTimesNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.clrExaminationTimesColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsnscISNChildNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.nscISNChildColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsnscISNLevelFourthNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.nscISNLevelFourthColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsnscISNLevelThreeNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.nscISNLevelThreeColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsnscNameChildNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.nscNameChildColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsnscNameLevelFourthNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.nscNameLevelFourthColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsnscNameLevelThreeNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.nscNameLevelThreeColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsnscNameNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.nscNameColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatBirthDateNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.patBirthDateColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatIDNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.patIDColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatNameNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_InnserScanResult.patNameColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public void SetclrExaminationDateNull ()
					
					{
						base[this.tablevw_InnserScanResult.clrExaminationDateColumn] = Convert.DBNull;
						return;
					}
					
					public void SetclrExaminationTimesNull ()
					
					{
						base[this.tablevw_InnserScanResult.clrExaminationTimesColumn] = Convert.DBNull;
						return;
					}
					
					public void SetnscISNChildNull ()
					
					{
						base[this.tablevw_InnserScanResult.nscISNChildColumn] = Convert.DBNull;
						return;
					}
					
					public void SetnscISNLevelFourthNull ()
					
					{
						base[this.tablevw_InnserScanResult.nscISNLevelFourthColumn] = Convert.DBNull;
						return;
					}
					
					public void SetnscISNLevelThreeNull ()
					
					{
						base[this.tablevw_InnserScanResult.nscISNLevelThreeColumn] = Convert.DBNull;
						return;
					}
					
					public void SetnscNameChildNull ()
					
					{
						base[this.tablevw_InnserScanResult.nscNameChildColumn] = Convert.DBNull;
						return;
					}
					
					public void SetnscNameLevelFourthNull ()
					
					{
						base[this.tablevw_InnserScanResult.nscNameLevelFourthColumn] = Convert.DBNull;
						return;
					}
					
					public void SetnscNameLevelThreeNull ()
					
					{
						base[this.tablevw_InnserScanResult.nscNameLevelThreeColumn] = Convert.DBNull;
						return;
					}
					
					public void SetnscNameNull ()
					
					{
						base[this.tablevw_InnserScanResult.nscNameColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatBirthDateNull ()
					
					{
						base[this.tablevw_InnserScanResult.patBirthDateColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatIDNull ()
					
					{
						base[this.tablevw_InnserScanResult.patIDColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatNameNull ()
					
					{
						base[this.tablevw_InnserScanResult.patNameColumn] = Convert.DBNull;
						return;
					}
					
				#endregion
			}
			
			
			[System.Diagnostics.DebuggerStepThroughAttribute ()]
			public class vw_InnserScanResultRowChangeEvent : EventArgs
			
			{
				
				#region Fields
					private DataRowAction eventAction;
					private dsNoiSoi.vw_InnserScanResultRow eventRow;
				#endregion
				
				#region Constructors
				
					public vw_InnserScanResultRowChangeEvent (dsNoiSoi.vw_InnserScanResultRow row, DataRowAction action)
					
					{
						this.eventRow = row;
						this.eventAction = action;
						return;
					}
					
				#endregion
				
				#region Properties
				
					public DataRowAction Action
					
					{
						get
						{
							DataRowAction theDataRowAction;
							theDataRowAction = this.eventAction;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataRowAction;
						}
					}
					
					
					public dsNoiSoi.vw_InnserScanResultRow Row
					
					{
						get
						{
							dsNoiSoi.vw_InnserScanResultRow theVw_InnserScanResultRow;
							theVw_InnserScanResultRow = this.eventRow;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theVw_InnserScanResultRow;
						}
					}
					
				#endregion
			}
			
			
			[System.Serializable()]
			public delegate void vw_InnserScanResultRowChangeEventHandler (object sender, dsNoiSoi.vw_InnserScanResultRowChangeEvent e);
		#endregion
		
		#region Constructors
		
			public dsNoiSoi ()
			
			{
				CollectionChangeEventHandler theCollectionChangeEventHandler;
				this.InitClass ();
				theCollectionChangeEventHandler = new CollectionChangeEventHandler (this.SchemaChanged);
				base.Tables.CollectionChanged += theCollectionChangeEventHandler;
				base.Relations.CollectionChanged += theCollectionChangeEventHandler;
				return;
			}
			
			
			protected dsNoiSoi (SerializationInfo info, StreamingContext context)
			
			{
				string theString;
				DataSet theDataSet;
				CollectionChangeEventHandler theCollectionChangeEventHandler;
				theString = ((string) info.GetValue ("XmlSchema", typeof (string)));
				if (theString == null)
				{
					goto L_00C9;
				}
				theDataSet = new DataSet ();
				theDataSet.ReadXmlSchema (((XmlReader) new XmlTextReader (((TextReader) new StringReader (theString)))));
				if (theDataSet.Tables["vw_InnserScanResult"] == null)
				{
					goto L_0070;
				}
				base.Tables.Add (((DataTable) new vw_InnserScanResultDataTable (theDataSet.Tables["vw_InnserScanResult"])));
				
			L_0070:
				
				{
				}
				base.DataSetName = theDataSet.DataSetName;
				base.Prefix = theDataSet.Prefix;
				base.Namespace = theDataSet.Namespace;
				base.Locale = theDataSet.Locale;
				base.CaseSensitive = theDataSet.CaseSensitive;
				base.EnforceConstraints = theDataSet.EnforceConstraints;
				base.Merge (theDataSet, false, MissingSchemaAction.Add);
				this.InitVars ();
				goto L_00CF;
				
			L_00C9:
				
				{
				}
				this.InitClass ();
				
			L_00CF:
				
				{
				}
				base.GetSerializationData (info, context);
				theCollectionChangeEventHandler = new CollectionChangeEventHandler (this.SchemaChanged);
				base.Tables.CollectionChanged += theCollectionChangeEventHandler;
				base.Relations.CollectionChanged += theCollectionChangeEventHandler;
				return;
			}
			
		#endregion
		
		#region Properties
		
			[System.ComponentModel.BrowsableAttribute (false)]
			[System.ComponentModel.DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Content)]
			public vw_InnserScanResultDataTable vw_InnserScanResult
			
			{
				get
				{
					vw_InnserScanResultDataTable theVw_InnserScanResultDataTable;
					theVw_InnserScanResultDataTable = this.tablevw_InnserScanResult;
					goto L_0009;
					
				L_0009:
					
					{
					}
					return theVw_InnserScanResultDataTable;
				}
			}
			
		#endregion
		
		#region Methods
		
			public override DataSet Clone ()
			
			{
				dsNoiSoi theDsNoiSoi;
				DataSet theDataSet;
				theDsNoiSoi = ((dsNoiSoi) base.Clone ());
				theDsNoiSoi.InitVars ();
				theDataSet = ((DataSet) theDsNoiSoi);
				goto L_0016;
				
			L_0016:
				
				{
				}
				return theDataSet;
			}
			
			protected override XmlSchema GetSchemaSerializable ()
			
			{
				MemoryStream theMemoryStream;
				XmlSchema theXmlSchema;
				theMemoryStream = new MemoryStream ();
				base.WriteXmlSchema (((XmlWriter) new XmlTextWriter (((Stream) theMemoryStream), ((Encoding) null))));
				theMemoryStream.Position = 0L;
				theXmlSchema = XmlSchema.Read (((XmlReader) new XmlTextReader (((Stream) theMemoryStream))), ((ValidationEventHandler) null));
				goto L_002A;
				
			L_002A:
				
				{
				}
				return theXmlSchema;
			}
			
			private void InitClass ()
			
			{
				base.DataSetName = "dsNoiSoi";
				base.Prefix = "";
				base.Namespace = "http://www.tempuri.org/dsNoiSoi.xsd";
				base.Locale = new CultureInfo ("en-US");
				base.CaseSensitive = false;
				base.EnforceConstraints = true;
				this.tablevw_InnserScanResult = new vw_InnserScanResultDataTable ();
				base.Tables.Add (((DataTable) this.tablevw_InnserScanResult));
				return;
			}
			
			internal void InitVars ()
			
			{
				this.tablevw_InnserScanResult = ((vw_InnserScanResultDataTable) base.Tables["vw_InnserScanResult"]);
				if (this.tablevw_InnserScanResult == null)
				{
					goto L_002E;
				}
				this.tablevw_InnserScanResult.InitVars ();
				
			L_002E:
				return;
			}
			
			protected override void ReadXmlSerializable (XmlReader reader)
			
			{
				DataSet theDataSet;
				this.Reset ();
				theDataSet = new DataSet ();
				XmlReadMode theXmlReadMode = theDataSet.ReadXml (reader);
				if (theDataSet.Tables["vw_InnserScanResult"] == null)
				{
					goto L_0046;
				}
				base.Tables.Add (((DataTable) new vw_InnserScanResultDataTable (theDataSet.Tables["vw_InnserScanResult"])));
				
			L_0046:
				
				{
				}
				base.DataSetName = theDataSet.DataSetName;
				base.Prefix = theDataSet.Prefix;
				base.Namespace = theDataSet.Namespace;
				base.Locale = theDataSet.Locale;
				base.CaseSensitive = theDataSet.CaseSensitive;
				base.EnforceConstraints = theDataSet.EnforceConstraints;
				base.Merge (theDataSet, false, MissingSchemaAction.Add);
				this.InitVars ();
				return;
			}
			
			private void SchemaChanged (object sender, CollectionChangeEventArgs e)
			
			{
				if (e.Action != CollectionChangeAction.Remove)
				{
					goto L_000F;
				}
				this.InitVars ();
				
			L_000F:
				return;
			}
			
			protected override bool ShouldSerializeRelations ()
			
			{
				bool theBoolean;
				theBoolean = false;
				goto L_0004;
				
			L_0004:
				
				{
				}
				return theBoolean;
			}
			
			protected override bool ShouldSerializeTables ()
			
			{
				bool theBoolean;
				theBoolean = false;
				goto L_0004;
				
			L_0004:
				
				{
				}
				return theBoolean;
			}
			
			private bool ShouldSerializevw_InnserScanResult ()
			
			{
				bool theBoolean;
				theBoolean = false;
				goto L_0004;
				
			L_0004:
				
				{
				}
				return theBoolean;
			}
			
		#endregion
	}
	
}

